﻿using KidChoreApp.DataModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace KidChoreApp.Data.IDataAdapters.Interfaces
{
    public interface IKidChoreAdapter
    {
        //Kid CRUD
        List<Kid> GetAllKids();
        Kid AddKid(Kid kid);
        Kid GetKid(int id);
        Kid UpdateKid(Kid kid);
        void DeleteKid(int id);
        List<Kid> GetKidsForChore(int choreId);

        //Chore CRUD
        List<Chore> GetAllChores();
        Chore AddChore(Chore chore);
        Chore GetChore(int id);
        Chore UpdateChore(Chore chore);
        void DeleteChore(int id);
        List<Chore> GetChoresForKid(int kidId);

        //random
        KidChore AddKidChore(Kid kid, Chore chore);
        void DeleteKidChore(int KidId, int ChoreId);
    }
}
